package com.cskaoyan.mapper.marketMapper;

import com.cskaoyan.bean.marketBean.*;
import com.cskaoyan.bean.po.example.PromotionTopicExamplePO;
import com.cskaoyan.bean.po.example.WJJFootprintExamplePO;
import com.cskaoyan.bean.po.example.WJJUserCollectListExamplePO;
import com.cskaoyan.bean.vo.WxglMallManagementControllerVo.ListDtoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketTopicMapper {
    long countByExample(MarketTopicExample example);

    int deleteByExample(MarketTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketTopic record);

    int insertSelective(MarketTopic record);

    List<MarketTopic> selectByExampleWithBLOBs(MarketTopicExample example);

    List<MarketTopic> selectByExample(MarketTopicExample example);

    MarketTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketTopic record, @Param("example") MarketTopicExample example);

    int updateByExampleWithBLOBs(@Param("record") MarketTopic record, @Param("example") MarketTopicExample example);

    int updateByExample(@Param("record") MarketTopic record, @Param("example") MarketTopicExample example);

    int updateByPrimaryKeySelective(MarketTopic record);

    int updateByPrimaryKeyWithBLOBs(MarketTopic record);

    int updateByPrimaryKey(MarketTopic record);

    List<MarketTopic> selectMarketTopicByTopicExample(@Param("topic") PromotionTopicExamplePO topicExamplePO);

    int insertMarketTopic(MarketTopic marketTopic);

    MarketTopic selectTopicById(Integer id);

    MarketGoods selectMarketGoodsById(Integer id);

    List<ListDtoVo> selectParameterByExample(MarketTopicExample example);

    int selectCountFromTopic();

    List<MarketTopic> selectMarketTopic(Integer limit);

    List<MarketCollect> selectMarketCollectExample(@Param("collect") WJJUserCollectListExamplePO collectListExamplePO);

    List<MarketFootprint> selectMarketFootprintExample(@Param("footprint") WJJFootprintExamplePO footprintExamplePO);

}